<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>String</title>
</head>
<body>
赋值:<span th:text="${userName}">usrName</span><br>
拼接:<span th:text="'Hello '+${userName}+'!'">Hello usrName!</span><br>
拼接:<span th:text="|Hello ${userName} !|">Hello usrName!</span><br>
</body>
</html>